Average sentence length |
---|
12.5834 |
sentence length | percentage |
---|---|
2 | 0.0030 |
3 | 0.1000 |
4 | 0.4770 |
5 | 0.8080 |
6 | 1.1710 |
7 | 1.8420 |
8 | 4.5740 |
9 | 3.0480 |
10 | 0.9990 |
11 | 3.9820 |
12 | 6.4130 |
13 | 57.5360 |
14 | 12.6480 |
15 | 2.0580 |
16 | 2.2220 |
17 | 0.4540 |
18 | 0.2480 |
19 | 0.1990 |
20 | 0.2100 |
21 | 0.1680 |
22 | 0.1440 |
23 | 0.1050 |
24 | 0.0900 |
25 | 0.0860 |
26 | 0.0750 |
27 | 0.0590 |
28 | 0.0520 |
29 | 0.0440 |
30 | 0.0300 |
31 | 0.0450 |
32 | 0.0290 |
33 | 0.0240 |
34 | 0.0200 |
35 | 0.0090 |
36 | 0.0100 |
37 | 0.0040 |
38 | 0.0080 |
39 | 0.0020 |
40 | 0.0010 |
43 | 0.0010 |
44 | 0.0010 |
47 | 0.0010 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters